﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;

public partial class Management_ChargeNurse_Nhansu : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            int ID = ((Authentication)Session[GlobalConstant.LOGIN_STATE]).userID;
            nhanvienDS.SelectParameters["IDWard"].DefaultValue = Management_Danhsachnhanvien.getIDWardFromIDStaff(ID).ToString();
        }
    }

    protected void nhansu_Click(object sender, EventArgs e)
    {
        int IDStaff = Int32.Parse((sender as LinkButton).CommandArgument);
        StaffInfor1.fillInfor(IDStaff);
        StaffInfor1.lockEdit(true);
        Panel2.Visible = true;
    }    
}